<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/sys/css.jsp"%>
<script type="text/javascript" src="${pageContext.request.contextPath}/modules/jddtgzsz/ctrl/jddtgzsz-info.js"></script>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/modules/util/static/plugin/css/index.css">
<html lang="zh-cmn-Hans">
	<head>
    	<title></title>
    	<style type="text/css">
    	</style>
    </head> 
    	<form class="layui-form" action="" style="padding: 10px;width:950px;">
    		<input hidden id="recId" name="recId" value="${jddtGzsz.recId}" >
    	    <table class="viewTable" >
    	    	<tbody>
	                <tr>
	                    <th>监测事项</th>
	                    <td colspan="4">
	                        <div class="layui-input-inline tdcontent" >
	                        	<select id="jksxglId" name="jksxglId" lay-verify="required" disabled="disabled">
	                        		<option value="">-请选择-</option>
	                        		<c:forEach items="${jddtJksxglList }" var="jddtJksxgl">
	                        			<option value="${jddtJksxgl.recId }" <c:if test="${jddtJksxgl.recId == jddtGzsz.jksxglId }">selected="selected"</c:if>>${jddtJksxgl.sxname }</option>
	                        		</c:forEach>
	                        	</select>
	                        </div>
	                    </td>
                    </tr>
                  	<tr>  
	                    <th>是否开启</th>
	                    <td colspan="4"  >
	                        <div class="layui-input-inline tdcontent" >
	                        	<input type="radio" name="status" title="是"  value="1" lay-verify="otherReq" <c:if test="${'1' == jddtGzsz.status }">checked="checked"</c:if> disabled="disabled">
	                        	<input type="radio" name="status" title="否"  value="0" lay-verify="otherReq" <c:if test="${'0' == jddtGzsz.status }">checked="checked"</c:if> disabled="disabled">
	                        </div>
	                    </td>
	                </tr>
	                <tr>  
	                    <th>提醒方式</th>
	                    <td colspan="4"  >
	                        <div class="layui-input-inline tdcontent" >
	                        <c:forEach items="${cp:DICTIONARY('TXTYPE')}" var="data">
	                       <input type="checkbox" name="txtype" value="${data.dataCode }" title="${data.dataValue }" lay-skin="primary" <c:if test="${data.dataCode == 3 }">checked</c:if> <c:if test="${data.dataCode != 3 }">disabled</c:if> disabled="disabled">
                    		</c:forEach>
	                        	<%-- <select id="txtype" name="txtype" lay-verify="required">
	                        		<option value="">-请选择-</option>
	                        		<c:forEach items="${cp:DICTIONARY('TXTYPE')}" var="data">
	                        			<option value="${data.dataCode }" <c:if test="${data.dataCode == jddtGzsz.txtype }">selected="selected"</c:if>>${data.dataValue }</option>
	                        		</c:forEach>
	                        	</select> --%>
	                        </div>
	                    </td>
	                </tr>
	                <tr>  
	                    <th>提醒时间</th>
	                        <div class="layui-input-inline tdcontent" >
	                         <td colspan="4"  >
	                  <span style="float:left;margin-right: 5px;margin-top: 10px;">提前</span>
	                  <input type="number" name="txday" id="txday" class="layui-input" style="float:left;width:70px;" lay-verify="required" value="${jddtGzsz.txday}" readonly="readonly">
	                  <span style="float:left;margin-left: 5px;margin-top: 10px;">天</span>
	                    </td>
	                        	<%-- <select id="txday" name="txday" lay-verify="required">
	                        		<option value="">-请选择-</option>
	                        		<c:forEach items="${cp:DICTIONARY('TXDAY')}" var="data">
	                        			<option value="${data.dataCode }" <c:if test="${data.dataCode == jddtGzsz.txday }">selected="selected"</c:if>>${data.dataValue }</option>
	                        		</c:forEach>
	                        	</select> --%>
	                        </div>
	                    </td>
	                </tr>
	                 <tr>  
	                    <th>黄色提醒时间</th>
	                    <td colspan="4"  >
	                  <span style="float:left;margin-right: 5px;margin-top: 10px;">提前</span><input type="number" name="alarmY" id="alarmY" class="layui-input" style="float:left;width:70px;" lay-verify="required" value="${jddtGzsz.alarmY}" readonly="readonly"><span style="float:left;margin-left: 5px;margin-top: 10px;">天</span>
	                    </td>
	                </tr>
	                 <tr>  
	                    <th>红色提醒时间</th>
	                    <td colspan="4"  >
	                    <span style="float:left;margin-right: 5px;margin-top: 10px;">提前</span><input type="number" name="alarmR" id="alarmR" class="layui-input"  style="float:left;width:70px;" lay-verify="required" value="${jddtGzsz.alarmR}" readonly="readonly"><span style="float:left;margin-left: 5px;margin-top: 10px;">天</span>
	                    </td>
	                </tr>
				</tbody>
			</table>
		     <div style="text-align: center;margin-top: 20px" >
				<button class="layui-btn layui-btn-primary" onclick="CloseWin()">关闭</button>
		    </div>
 	 </form>
<script type="text/javascript">
	var basePath= "${pageContext.request.contextPath}";

</script>
</html>
